package com.qianfeng.app;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;

import org.springframework.context.annotation.ComponentScan;
import org.springframework.scheduling.annotation.EnableScheduling;

@EnableAutoConfiguration
@ComponentScan(basePackages= {"com.qianfeng.job"})
@EnableScheduling //允许任务调度
public class SpringApp {
   public static void main(String[] args) {
	   SpringApplication.run(SpringApp.class, args);
   }
}
